package com.yizhubao.app.adapters;

import android.text.Editable;
import android.text.TextWatcher;
import android.widget.EditText;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yizhubao.app.R;
import com.yizhubao.app.beans.RecordBean;
import com.yizhubao.app.beans.RecordDetailBean;

/**
 * @author Pacy.
 * Date: 2021/6/4/004
 * Time: 21:18
 * Mail pengwwe457621023@qq.com
 * Info 详情委托人adapter
 */
public class DetailUserAdapter extends BaseQuickAdapter<RecordDetailBean.AssignorListBean, BaseViewHolder> {

    public DetailUserAdapter() {
        super(R.layout.detail_user_item);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, RecordDetailBean.AssignorListBean item) {
        helper.setText(R.id.name_tv,item.getName()).setText(R.id.phone_tv,item.getPhone());
    }
}
